#ifndef SHAPES_H
#define SHAPES_H

#include <string>

class Shape
{
	virtual std::string type() { return "Shape"; }
public:
	std::string getType() { return type(); }
	virtual ~Shape() {}
};

class Rectangle : public Shape
{
	virtual std::string type() { return "Rectangle"; }
};

class Ellipse : public Shape
{
	virtual std::string type() { return "Ellipse"; }
};

class Poly : public Shape
{
	virtual std::string type() { return "Poly"; }
};

#endif